﻿using System;
using System.Collections.Generic;
using System.Text;

namespace project1
{
    public class Data
    {
        private List<double> vector;
        private int mCluster = 0;
        public Data()
        {
            return;
        }
        public Data(List<double> lst)
        {
            this.vector = lst;
            return;
        }
        public int getDimension()
        {
            return this.vector.Count;
        }
        public void setElementAt(int vt, double gt)
        {
            this.vector[vt] = gt;
        }
        public double getElementAt(int vt)
        {
            return this.vector[vt];
        }
        public void cluster(int clusterNumber)
        {
            this.mCluster = clusterNumber;
        }
        public int cluster()
        {
            return this.mCluster;
        }
    }
}
